#ifndef LOGICLEVEL_H 
#define LOGICLEVEL_H

#include <stdint.h>

class LogicPool;

class LogicLevel
{

  protected:
    
    const uint8_t level; 

  public:
  
    LogicLevel(uint8_t ilevel) : level(ilevel) {};
    uint8_t GetLevel() { return level; };

    LogicPool & operator >> (LogicPool & logicin);
    LogicPool & operator >> (LogicPool * logicin);

};

#include "LogicPool/LogicPool.h"


extern LogicLevel LogicLow;
extern LogicLevel LogicHigh;
extern LogicLevel LogicNC;
extern LogicLevel LogicPulse;


#endif // LOGICLEVEL_H
